package com.wlz.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "person")
public class PersonBean {

    //人员编号
    @Id
    @Column(name = "pid")
    private String pid;
    //姓名
    @Column(name = "name")
    private String name;
    //社会保障号码 == 身份证号
    @Column(name = "ssn")
    private String ssn;
    //性别
    @Column(name = "sex")
    private String sex;
    //出生年月
    @Column(name = "birth")
    private int birth;
    //民族
    @Column(name = "nation")
    private String nation;
    //证件类型
    @Column(name = "idType")
    private String idType;
    //证件号码
    @Column(name = "idcode")
    private String idcode;
    //户籍地址
    @Column(name = "address")
    private String address;
    //移动电话
    @Column(name = "phone")
    private String phone;
    //电子邮箱
    @Column(name = "mail")
    private String mail;
    //政治面貌
    @Column(name = "politicsStatus")
    private String politicsStatus;
    //毕业院校
    @Column(name = "graduateIns")
    private String graduateIns;
    //学历
    @Column(name = "eduBck")
    private String eduBck;
    //国家资格等级
    @Column(name = "level")
    private String level;




}